gtk4.git
17 years agoAdd short desc
Matthias Clasen [Mon, 27 Oct 2008 04:02:57 +0000 (04:02 +0000)]
Add short desc

svn path=/trunk/; revision=21718

17 years agoMore conversion to C_()
Matthias Clasen [Mon, 27 Oct 2008 03:07:16 +0000 (03:07 +0000)]
More conversion to C_()

svn path=/trunk/; revision=21717

17 years agoUse C_() instead of Q_(). String change!
Matthias Clasen [Mon, 27 Oct 2008 01:42:28 +0000 (01:42 +0000)]
Use C_() instead of Q_(). String change!

2008-10-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaccellabel.c:
        * gtk/gtkcalendar.c:
        * gtk/gtkcellrendereraccel.c:
        * gtk/gtkcellrendererprogress.c:
        * gtk/gtkimmulticontext.c:
        * gtk/gtkrecentchoosermenu.c:
        * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!

svn path=/trunk/; revision=21716

17 years ago Bug 557065 – gtkcellrendererpixbuf spams console over and over with
Christian Persch [Sun, 26 Oct 2008 20:37:17 +0000 (20:37 +0000)]
Bug 557065 – gtkcellrendererpixbuf spams console over and over with
'could not load image' warnings

* gtk/gtkcellrendererpixbuf.c:
(gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy
g_warning.

svn path=/trunk/; revision=21715

17 years agoBug 530454 – Clarify page_nr when printing
Philip Withnall [Sun, 26 Oct 2008 12:11:11 +0000 (12:11 +0000)]
Bug 530454 – Clarify page_nr when printing

2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>

Bug 530454 – Clarify page_nr when printing

* gtk/gtkprintoperation.c (gtk_print_operation_class_init):
Point out
that page_nr is 0-based in the documentation.

svn path=/trunk/; revision=21714

17 years agoBug 557315 – stale clipboard target cache
Matthias Clasen [Sat, 25 Oct 2008 23:12:03 +0000 (23:12 +0000)]
Bug 557315 – stale clipboard target cache

2008-10-25  Matthias Clasen  <mclasen@redhat.com>

        Bug 557315 – stale clipboard target cache

        * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
        targets. Pointed out by Evan Stade

svn path=/trunk/; revision=21713

17 years agoAdded a note about GtkWidget:has-tooltip in the docs for
Tristan Van Berkom [Fri, 24 Oct 2008 18:25:43 +0000 (18:25 +0000)]
Added a note about GtkWidget:has-tooltip in the docs for

* gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
the docs for GtkWidget::query-tooltip.

svn path=/trunk/; revision=21712

17 years agofix a typo
Mark Krapivner [Fri, 24 Oct 2008 12:34:09 +0000 (12:34 +0000)]
fix a typo

svn path=/trunk/; revision=21711

17 years agoAdd a missing type
Matthias Clasen [Fri, 24 Oct 2008 04:25:14 +0000 (04:25 +0000)]
Add a missing type

svn path=/trunk/; revision=21710

17 years agoFix a property definition
Matthias Clasen [Fri, 24 Oct 2008 04:23:42 +0000 (04:23 +0000)]
Fix a property definition

svn path=/trunk/; revision=21709

17 years agoBug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching allocation
Matthias Clasen [Fri, 24 Oct 2008 04:21:25 +0000 (04:21 +0000)]
Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching allocation

2008-10-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
        allocation and deallocation

        * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
        free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki

svn path=/trunk/; revision=21708

17 years agoBug 556835 – gtkentry.c: variable is declared at middle of block
Matthias Clasen [Fri, 24 Oct 2008 04:18:48 +0000 (04:18 +0000)]
Bug 556835 – gtkentry.c: variable is declared at middle of block

2008-10-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 556835 – gtkentry.c: variable is declared at middle of block

        * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
        out by Kazuki Iwamoto

svn path=/trunk/; revision=21707

17 years agoBug 557524 – "va_end(args);" should be added into
Matthias Clasen [Fri, 24 Oct 2008 04:16:07 +0000 (04:16 +0000)]
Bug 557524 – "va_end(args);" should be added into

2008-10-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 557524 – "va_end(args);" should be added into
        gtk_text_buffer_insert_with_tags_by_name( )

        * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
        Don't forget to call va_end. Pointed out by Boram Park

svn path=/trunk/; revision=21706

17 years agoAdded Asturian translation on behalf of Mikel González
Gil Forcada Codinachs [Thu, 23 Oct 2008 13:49:12 +0000 (13:49 +0000)]
Added Asturian translation on behalf of Mikel González

svn path=/trunk/; revision=21704

17 years agoBug 528320 - Incorrect icons displayed for files with custom mimetype
Alexander Larsson [Thu, 23 Oct 2008 09:59:46 +0000 (09:59 +0000)]
Bug 528320 - Incorrect icons displayed for files with custom mimetype

2008-10-23  Alexander Larsson  <alexl@redhat.com>

Bug 528320 - Incorrect icons displayed for files with custom mimetype icons

        * gtk/gtkfilesystem.c:
        (_gtk_file_info_render_icon):
Fall back on default file icon if there was no icon or it
was not found in the theme. This goes with the corresponding
change in glib to not add the fallback icon, but is useful
in other cases too.

svn path=/trunk/; revision=21702

17 years agoBug 555920 – gtkentry.c passes wrong enum to
Behdad Esfahbod [Wed, 22 Oct 2008 21:02:23 +0000 (21:02 +0000)]
Bug 555920 – gtkentry.c passes wrong enum to

2008-10-22  Behdad Esfahbod  <behdad@gnome.org>

        Bug 555920 – gtkentry.c passes wrong enum to
        pango_layout_set_alignment()

        * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
        adjustment.

svn path=/trunk/; revision=21700

17 years agoOnly emit size-changed if the screen size actually changed.
Matthias Clasen [Wed, 22 Oct 2008 14:55:56 +0000 (14:55 +0000)]
Only emit size-changed if the screen size actually changed.

2008-10-22  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
        size actually changed.

svn path=/trunk/; revision=21698

17 years agogdk/gdkdraw.c gdk/gdkimage.c gdk/gdkscreen.c replace assertions for obj !=
Michael Natterer [Tue, 21 Oct 2008 21:42:39 +0000 (21:42 +0000)]
gdk/gdkdraw.c gdk/gdkimage.c gdk/gdkscreen.c replace assertions for obj !=

2008-10-21  Michael Natterer  <mitch@imendio.com>

* gdk/gdkdraw.c
* gdk/gdkimage.c
* gdk/gdkscreen.c
* gdk/gdkwindow.c: replace assertions for obj != NULL by
GDK_IS_OBJ(), remove redundant != NULL checks when there is
already a type check, add some g_return_if_fail() that were
missing entirely, fix some broken indentation and spacing.

svn path=/trunk/; revision=21695

17 years agoBug 557266 - Window Management Problem
Tor Lillqvist [Tue, 21 Oct 2008 20:31:05 +0000 (20:31 +0000)]
Bug 557266 - Window Management Problem

2008-10-21  Tor Lillqvist  <tml@novell.com>

Bug 557266 - Window Management Problem

Also reported in mail to gtk-list, and of course it has been well
known in general that window state management is messy and buggy
in various ways in gdk/win32.

* gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
must call SetWindowPos() on the window using HWND_TOPMOST
instead. The description for WS_EX_TOPMOST in the documentation
for CreateWindowEx() even implies that if you read it carefully.

svn path=/trunk/; revision=21694

17 years agoreorder functions to be in standard order, add prototypes and namespace to
Michael Natterer [Tue, 21 Oct 2008 20:20:50 +0000 (20:20 +0000)]
reorder functions to be in standard order, add prototypes and namespace to

2008-10-21  Michael Natterer  <mitch@imendio.com>

* gdk/gdkapplaunchcontext.c: reorder functions to be in standard
order, add prototypes and namespace to static functions, add
g_return_if_fail()s which were missing all over the place.

svn path=/trunk/; revision=21692

17 years agoBug 557059 – crash when compositing emblems with icon
Christian Persch [Mon, 20 Oct 2008 16:55:00 +0000 (16:55 +0000)]
Bug 557059 – crash when compositing emblems with icon

2008-10-20  Christian Persch  <chpe@gnome.org>

Bug 557059 – crash when compositing emblems with icon

* gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
from icon cache or builtins).

svn path=/trunk/; revision=21690

17 years agogtk_icon_view_set_tooltip_row(), gtk_icon_view_set_tooltip_item():
Murray Cumming [Mon, 20 Oct 2008 12:11:05 +0000 (12:11 +0000)]
gtk_icon_view_set_tooltip_row(), gtk_icon_view_set_tooltip_item():

2008-10-20  Murray Cumming  <murrayc@murrayc.com>

* gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(),
gtk_icon_view_set_tooltip_item():
* gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(),
gtk_icon_view_set_tooltip_cell():
Documentation: Mention the simple set_tooltip_column()
alternative.

svn path=/trunk/; revision=21689

17 years agoUpdated Catalan translation by David Planella
Gil Forcada Codinachs [Sun, 19 Oct 2008 11:54:00 +0000 (11:54 +0000)]
Updated Catalan translation by David Planella

svn path=/trunk/; revision=21686

17 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Sun, 19 Oct 2008 04:01:30 +0000 (04:01 +0000)]
Updated Thai translation.

2008-10-19  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=21682

17 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Sat, 18 Oct 2008 14:40:28 +0000 (14:40 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=21680

17 years agoOn WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
Tor Lillqvist [Fri, 17 Oct 2008 22:56:33 +0000 (22:56 +0000)]
On WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging

2008-10-18  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
output without setting it first.

2008-10-18  Tor Lillqvist  <tml@novell.com>

Bug 556578 - GIMP windows stay on top of other windows

* gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
(ensure_stacking_on_window_pos_changing)
(ensure_stacking_on_activate_app): Ignore unmapped windows in the
loops where we look for the lowest "transient-type" window.

(gdk_event_translate): Don't call
ensure_stacking_on_window_pos_changing() or
ensure_stacking_on_activate_app() for unmapped windows.

svn path=/trunk/; revision=21676

17 years agoUpdated Catalan translation
Gil Forcada Codinachs [Fri, 17 Oct 2008 18:39:44 +0000 (18:39 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=21672

17 years agoUpdated Georgian Translation
Vladimer Sichinava [Fri, 17 Oct 2008 16:07:25 +0000 (16:07 +0000)]
Updated Georgian Translation

svn path=/trunk/; revision=21670

17 years agoUpdated Slovak translation by Pavol Šimo.
Marcel Telka [Thu, 16 Oct 2008 23:00:00 +0000 (23:00 +0000)]
Updated Slovak translation by Pavol Šimo.

2008-10-16  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation by Pavol Šimo.

svn path=/trunk/; revision=21665

17 years agoUpdated Slovak translation by Pavol Šimo.
Marcel Telka [Thu, 16 Oct 2008 22:58:49 +0000 (22:58 +0000)]
Updated Slovak translation by Pavol Šimo.

2008-10-16  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation by Pavol Šimo.

svn path=/trunk/; revision=21664

17 years agoBug 556527 - The current page property is not passed to GtkPrintUnixDialog
Marek Kasik [Thu, 16 Oct 2008 11:20:33 +0000 (11:20 +0000)]
Bug 556527 - The current page property is not passed to GtkPrintUnixDialog

2008-10-16  Marek Kasik  <mkasik@redhat.com>

Bug 556527 - The current page property is not passed to
GtkPrintUnixDialog

* gtk/gtkprintoperation-unix.c: pass current-page property
to GtkPrintUnixDialog

svn path=/trunk/; revision=21660

17 years agofix typo in the type name so the macro becomes usable.
Michael Natterer [Wed, 15 Oct 2008 15:50:10 +0000 (15:50 +0000)]
fix typo in the type name so the macro becomes usable.

2008-10-15  Michael Natterer  <mitch@imendio.com>

* gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
in the type name so the macro becomes usable.

svn path=/trunk/; revision=21658

17 years agoUpdated Brazilian Portuguese translation.
Og B. Maciel [Tue, 14 Oct 2008 15:50:00 +0000 (15:50 +0000)]
Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=21655

17 years ago556150 – gtk 'object' property test fixing
Christian Dywan [Tue, 14 Oct 2008 13:23:44 +0000 (13:23 +0000)]
556150 – gtk 'object' property test fixing

* gtk/tests/object.c (list_ignore_properties):
Remove some recently fixed properties from the exception list

svn path=/trunk/; revision=21653

17 years agoBug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
Matthias Clasen [Tue, 14 Oct 2008 03:47:18 +0000 (03:47 +0000)]
Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup

2008-10-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup

        * gtk/gtkcellrendererpixbuf
        (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
        if a GIcon is not present in the current theme. Patch by
        Alex Larsson.

svn path=/trunk/; revision=21650

17 years agoBug 552318 – menubar mnemonics consumed even when
Matthias Clasen [Tue, 14 Oct 2008 02:00:11 +0000 (02:00 +0000)]
Bug 552318 – menubar mnemonics consumed even when

2008-10-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 552318 – menubar mnemonics consumed even when
        gtk-enable-mnemonics=false

        * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
        entries block accelerator activation when gtk-enable-mnemonics is
        FALSE. Problem reported by Andreas Moog.

svn path=/trunk/; revision=21648

17 years agoBug 555953 – libferret missing link against libgtk-x11
Matthias Clasen [Mon, 13 Oct 2008 16:00:24 +0000 (16:00 +0000)]
Bug 555953 – libferret missing link against libgtk-x11

2008-10-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 555953 – libferret missing link against libgtk-x11

        * modules/other/gail/test/Makefile.am: Link libferret against gtk.

svn path=/trunk/; revision=21646

17 years agoFix option parsing so that -a and --action work correctly.
Cody Russell [Mon, 13 Oct 2008 15:15:23 +0000 (15:15 +0000)]
Fix option parsing so that -a and --action work correctly.

2008-10-13  Cody Russell <cody@jhu.edu>

        * test/testfilechooser.c: Fix option parsing so that -a and
        --action work correctly.

svn path=/trunk/; revision=21645

17 years agoBug 555791 – Natuilus Crashes when opening USB MP3 Player Contents
Matthias Clasen [Mon, 13 Oct 2008 14:18:40 +0000 (14:18 +0000)]
Bug 555791 – Natuilus Crashes when opening USB MP3 Player Contents

2008-10-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 555791 – Natuilus Crashes when opening USB MP3 Player Contents

        * io-tga.c (gdk_pixbuf__tga_stop_load): Don't segfault on
        short files.
        Problem reported by Pedro Villavicencio

svn path=/trunk/; revision=21643

17 years agoBug 555386 – format not a string literal and no format arguments
Christian Persch [Mon, 13 Oct 2008 12:54:45 +0000 (12:54 +0000)]
Bug 555386 – format not a string literal and no format arguments

svn path=/trunk/; revision=21642

17 years agoBug 555724 – gtkcellrendereraccel not initialised correctly
Christian Persch [Mon, 13 Oct 2008 12:54:39 +0000 (12:54 +0000)]
Bug 555724 – gtkcellrendereraccel not initialised correctly

svn path=/trunk/; revision=21641

17 years agoFixed wrong translations (Bug #556017).
Takeshi AIHANA [Mon, 13 Oct 2008 00:38:24 +0000 (00:38 +0000)]
Fixed wrong translations (Bug #556017).

2008-10-13  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Fixed wrong translations (Bug #556017).

svn path=/trunk/; revision=21640

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 12 Oct 2008 20:30:17 +0000 (20:30 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=21638

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 12 Oct 2008 20:30:01 +0000 (20:30 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=21637

17 years agoFixed terminology in Brazilian Portuguese translation by Vladimir Melo.
Leonardo Ferreira Fontenelle [Sun, 12 Oct 2008 17:19:57 +0000 (17:19 +0000)]
Fixed terminology in Brazilian Portuguese translation by Vladimir Melo.

2008-10-12  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Fixed terminology in Brazilian Portuguese translation by
Vladimir Melo.

svn path=/trunk/; revision=21636

17 years agoClosed #555625 – Updated gtk_compose_seqs_compact table (gtkimcontextsimpleseqs.h)
Simos Xenitellis [Sun, 12 Oct 2008 16:11:48 +0000 (16:11 +0000)]
Closed #555625 – Updated gtk_compose_seqs_compact table (gtkimcontextsimpleseqs.h)

svn path=/trunk/; revision=21634

17 years agoRevert the GtkSettings::gtk-toolbar-icon-size part of the previous change,
Matthias Clasen [Sun, 12 Oct 2008 15:27:57 +0000 (15:27 +0000)]
Revert the GtkSettings::gtk-toolbar-icon-size part of the previous change,

2008-10-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
        part of the previous change, since it doesn't work correctly without
        extra complication, and using custom icon sizes doesn't make too
        much sense in a desktop-wide setting.

svn path=/trunk/; revision=21633

17 years agoBug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
Matthias Clasen [Sun, 12 Oct 2008 03:17:16 +0000 (03:17 +0000)]
Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size

2008-10-11  Matthias Clasen  <mclasen@redhat.com>

        Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size

        * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
        GtkSettings::gtk-toolbar-icon-size into int properties, to
        allow the use of app-registered icon sizes.

svn path=/trunk/; revision=21632

17 years agoBug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
Christian Dywan [Sat, 11 Oct 2008 03:37:47 +0000 (03:37 +0000)]
Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window

* gtk/gtkwidget.c (gtk_widget_real_grab_focus):
Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL

svn path=/trunk/; revision=21631

17 years agoBug 551355 – [PATCH] Make glib build with libtool 2.2
Behdad Esfahbod [Sat, 11 Oct 2008 00:05:31 +0000 (00:05 +0000)]
Bug 551355 – [PATCH] Make glib build with libtool 2.2

2008-10-10  Behdad Esfahbod  <behdad@gnome.org>

        Bug 551355 – [PATCH] Make glib build with libtool 2.2

        * autogen.sh: Accept libtool 2.2.   We are moving towards having
        it working.

svn path=/trunk/; revision=21630

17 years agoAdd empty stub to fix linking.
Richard Hult [Fri, 10 Oct 2008 13:38:05 +0000 (13:38 +0000)]
Add empty stub to fix linking.

2008-10-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
Add empty stub to fix linking.

svn path=/trunk/; revision=21629

17 years agoFixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.
Simos Xenitellis [Fri, 10 Oct 2008 08:29:12 +0000 (08:29 +0000)]
Fixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.

svn path=/trunk/; revision=21627

17 years agoFixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.
Simos Xenitellis [Fri, 10 Oct 2008 08:28:12 +0000 (08:28 +0000)]
Fixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.

svn path=/trunk/; revision=21626

17 years agoFixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.
Simos Xenitellis [Fri, 10 Oct 2008 08:21:54 +0000 (08:21 +0000)]
Fixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.

svn path=/trunk/; revision=21623

17 years agoBug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
Christian Dywan [Thu, 9 Oct 2008 17:27:59 +0000 (17:27 +0000)]
Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window

* gtk/gtkwidget.c (gtk_widget_real_grab_focus):
Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL

svn path=/trunk/; revision=21622

17 years agoBug 555573 – gtk_font_selection_set_font_name
Christian Dywan [Thu, 9 Oct 2008 16:26:35 +0000 (16:26 +0000)]
Bug 555573 – gtk_font_selection_set_font_name
shouldn't require a screen

* gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
Don't warn if there is no screen, just return FALSE

svn path=/trunk/; revision=21621

17 years agoBug 555523 – gtk_scale_button_set_adjustment should accept NULL
Christian Dywan [Thu, 9 Oct 2008 16:19:06 +0000 (16:19 +0000)]
Bug 555523 – gtk_scale_button_set_adjustment should accept NULL

* gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
Create a new adjustment if NULL is passed, like other widgets

svn path=/trunk/; revision=21620

17 years agoBug 555578 – GtkTable propertiy maxima are wrong
Christian Dywan [Thu, 9 Oct 2008 15:57:55 +0000 (15:57 +0000)]
Bug 555578 – GtkTable propertiy maxima are wrong

* gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
Always use 65535 instead of G_MAXUINT since that is
the actually supported maximum number of columns and rows

svn path=/trunk/; revision=21619

17 years agoBug 550342 – Splash screens have a caption
Richard Hult [Thu, 9 Oct 2008 11:27:31 +0000 (11:27 +0000)]
Bug 550342 – Splash screens have a caption

2008-10-09  Richard Hult  <richard@imendio.com>

Bug 550342 – Splash screens have a caption

* gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
(gdk_window_set_decorations): Patch from Marianne Gagnon to make
splash windows borderless.

svn path=/trunk/; revision=21617

17 years agoBug 516425 – Optionally display accelerators in popups
Michael Natterer [Thu, 9 Oct 2008 08:51:02 +0000 (08:51 +0000)]
Bug 516425 – Optionally display accelerators in popups

2008-10-09  Michael Natterer  <mitch@imendio.com>

Bug 516425 – Optionally display accelerators in popups

* gtk/tmpl/gtkuimanager.sgml: document the enhanced XML syntax and
the new enum value for popups with accelerators.

svn path=/trunk/; revision=21616

17 years agoBug 516425 – Optionally display accelerators in popups
Michael Natterer [Thu, 9 Oct 2008 08:50:33 +0000 (08:50 +0000)]
Bug 516425 – Optionally display accelerators in popups

2008-10-09  Michael Natterer  <mitch@imendio.com>

Bug 516425 – Optionally display accelerators in popups

* gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
shows the actions' accelerators.

* gtk/gtkuimanager.c: honor the new enum value for programmatically
created UIs, and support <popup accelerators="true"> in the XML
for the same purpose.

svn path=/trunk/; revision=21615

17 years agoFixed Bug 554192 – deadkey-only compose sequences now working
Simos Xenitellis [Wed, 8 Oct 2008 23:04:54 +0000 (23:04 +0000)]
Fixed Bug 554192 – deadkey-only compose sequences now working

svn path=/trunk/; revision=21613

17 years agoBug 554702 – gtkfilesystem leaks GError
Christian Persch [Wed, 8 Oct 2008 21:00:56 +0000 (21:00 +0000)]
Bug 554702 – gtkfilesystem leaks GError
Also fixes some "format not a string literal and no format arguments"
warnings.

svn path=/trunk/; revision=21611

17 years agoAdd bug ref
Matthias Clasen [Wed, 8 Oct 2008 15:32:48 +0000 (15:32 +0000)]
Add bug ref

svn path=/trunk/; revision=21609

17 years agoDon't forget to reset reload_state when current_folder is already correct.
Matthias Clasen [Wed, 8 Oct 2008 15:32:23 +0000 (15:32 +0000)]
Don't forget to reset reload_state when current_folder is already correct.

2008-10-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
        Don't forget to reset reload_state when current_folder is already
        correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992

svn path=/trunk/; revision=21608

17 years agoBug 555270 – Allow unsetting a MessageDialog's image
Christian Dywan [Wed, 8 Oct 2008 02:27:07 +0000 (02:27 +0000)]
Bug 555270 – Allow unsetting a MessageDialog's image

2008-10-08  Christian Dywan  <christian@imendio.com>

Bug 555270 – Allow unsetting a MessageDialog's image

* gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
Remove a superfluous cast to GtkWidget*
(gtk_message_dialog_set_image): Accept NULL for the image
and unset the image in that case.

svn path=/trunk/; revision=21607

17 years agoBug 436533 – Allow more space efficient scroll arrows placement
Christian Dywan [Wed, 8 Oct 2008 02:16:08 +0000 (02:16 +0000)]
Bug 436533 – Allow more space efficient scroll arrows placement

* gtk/gtkenums.h: Add GtkArrowPlacement
* gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
(get_arrows_visible_area), (get_double_arrows),
(get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
to allow scrolling arrows to be placed at the start, end or both
Patch by Tommi Komulainen and myself

svn path=/trunk/; revision=21606

17 years agoBug 555387 – Changing the sensitivity of a statusbar
Christian Dywan [Wed, 8 Oct 2008 02:02:50 +0000 (02:02 +0000)]
Bug 555387 – Changing the sensitivity of a statusbar
mistakenly requires a display

* gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
of the resize grip if there is a grip window.

svn path=/trunk/; revision=21605

17 years agoAvoid uninitialized memory warnings
Matthias Clasen [Tue, 7 Oct 2008 18:06:00 +0000 (18:06 +0000)]
Avoid uninitialized memory warnings

svn path=/trunk/; revision=21603

17 years agoBug 554950 – gail must make itself resident
Matthias Clasen [Tue, 7 Oct 2008 17:41:46 +0000 (17:41 +0000)]
Bug 554950 – gail must make itself resident

2008-10-07 Matthias Clasen <mclasen@redhat.com>

        Bug 554950 – gail must make itself resident

        * gail.c: Make the module resident, since it can't handle
        being unloaded.

svn path=/trunk/; revision=21601

17 years agogtk/gtkbox.c: fixed type declaration.
Tim Janik [Tue, 7 Oct 2008 09:32:20 +0000 (09:32 +0000)]
gtk/gtkbox.c: fixed type declaration.

svn path=/trunk/; revision=21600

17 years agokeep GtkBox as an abstract type and keep _gtk_box_new() as private
11:03:30 Tim Janik [Tue, 7 Oct 2008 09:07:27 +0000 (09:07 +0000)]
keep GtkBox as an abstract type and keep _gtk_box_new() as private

2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>

        * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
        as private function until we settle on the exact semantics.
        renamed _gtk_box_set_old_defaults() as suggested by Mitch.

svn path=/trunk/; revision=21599

17 years agoreindent static prototypes.
Michael Natterer [Tue, 7 Oct 2008 07:50:04 +0000 (07:50 +0000)]
reindent static prototypes.

2008-10-07  Michael Natterer  <mitch@imendio.com>

* gtk/gtkbox.c: reindent static prototypes.

svn path=/trunk/; revision=21598

17 years agoadd gtk_box_new.
Michael Natterer [Tue, 7 Oct 2008 07:46:08 +0000 (07:46 +0000)]
add gtk_box_new.

2008-10-07  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_box_new.

svn path=/trunk/; revision=21597

17 years agoBug 553573 – Add orientation API to GtkBox
Michael Natterer [Tue, 7 Oct 2008 07:44:06 +0000 (07:44 +0000)]
Bug 553573 – Add orientation API to GtkBox

2008-10-07  Michael Natterer  <mitch@imendio.com>

Bug 553573 – Add orientation API to GtkBox

* gtk/gtkbox.[hh]: implement the GtkOrientable interface and
swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
which takes a GtkOrientation argument. Also move the newly
added "spacing_set" boolean from struct GtkBox to the new
private struct.

* gtk/gtkhbox.[ch]
* gtk/gtkvbox.[ch]: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_box_new().

svn path=/trunk/; revision=21596

17 years agoClarification.
Tor Lillqvist [Mon, 6 Oct 2008 21:33:36 +0000 (21:33 +0000)]
Clarification.

svn path=/trunk/; revision=21595

17 years agoBug 539464 – gtk_cell_view_get_model is missing in GtkCellView
Björn Lindqvist [Mon, 6 Oct 2008 21:15:45 +0000 (21:15 +0000)]
Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView

2008-10-06  Björn Lindqvist  <bjourne@gmail.com>

Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView

* gtk/gtkcellview.c (gtk_cell_view_get_model): Add
gtk_cell_view_get_model.

svn path=/trunk/; revision=21593

17 years agoShow the tooltip on the range entry itself, too.
Matthias Clasen [Mon, 6 Oct 2008 18:26:27 +0000 (18:26 +0000)]
Show the tooltip on the range entry itself, too.

2008-10-06  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
        on the range entry itself, too.

svn path=/trunk/; revision=21591

17 years agoSlight editing of last entry.
Tor Lillqvist [Sun, 5 Oct 2008 00:11:39 +0000 (00:11 +0000)]
Slight editing of last entry.

svn path=/trunk/; revision=21589

17 years agoBug 132501 - Make utility window translate to tool window in win32
Tor Lillqvist [Sun, 5 Oct 2008 00:00:10 +0000 (00:00 +0000)]
Bug 132501 - Make utility window translate to tool window in win32

2008-10-04  Tor Lillqvist  <tml@novell.com>

Bug 132501 - Make utility window translate to tool window in win32

Implement the utility window type hint. Such windows are kept on
top of other windows. Makes GIMP's toolbox and dock windows behave
more like in GNOME under metacity. Apply the same logic also to
windows marked with the dialog window type hint, and windows that
are transient for some other window. I'll call such windows
"transient-type" below.

* gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
variables.

(ensure_stacking_on_unminimize)
(ensure_stacking_on_window_pos_changing)
(ensure_stacking_on_activate_app): New functions to implement the
desired stacking order. Make sure that a window that is not
transient-type stays below any transient-type windows of the
application. When activating a non-transient-type window make sure
it rises as high as possible.

(gdk_event_translate): Call above functions on
WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
unminimizing. Improve debugging printout.

* gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
Handle utility windows like toolbar windows.

(gdk_window_new_internal) (update_style_bits): Give utility
windows the WS_EX_TOOLWINDOW extended style.

(gdk_window_set_title): If debugging "misc" or "events", make the
handle of top-level windows show up in their title bars. Very
useful when looking at debugging output.

(gdk_window_set_keep_above) (gdk_window_set_keep_below)
(gdk_window_set_modal_hint) (gdk_window_set_skip_taskbar_hint)
(gdk_window_set_skip_pager_hint): Add and improve debugging
printout.

(gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().

2008-10-04  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
(_gdk_win32_window_pos_bits_to_string): New debugging printout
functions. Decode the WS_EX_* and SWP_* bits.

* gdk/win32/gdkprivate-win32.h: Declare them. Define
GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
"misc" or "events".

svn path=/trunk/; revision=21587

17 years agoAdd some debug output.
Matthias Clasen [Sat, 4 Oct 2008 01:54:30 +0000 (01:54 +0000)]
Add some debug output.

2008-10-03  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
        debug output.

svn path=/trunk/; revision=21583

17 years agoBug 96431 – Can't cut and paste / DND within invisible entry
Matthias Clasen [Fri, 3 Oct 2008 02:01:58 +0000 (02:01 +0000)]
Bug 96431 – Can't cut and paste / DND within invisible entry

2008-10-02  Matthias Clasen <mclasen@redhat.com>

        Bug 96431 – Can't cut and paste / DND within invisible entry

        * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
        entry. Proposed by Owen Taylor

svn path=/trunk/; revision=21582

17 years agoBug 530575 – GtkEntry with invisible chars has a confused cursor in
Matthias Clasen [Fri, 3 Oct 2008 01:16:48 +0000 (01:16 +0000)]
Bug 530575 – GtkEntry with invisible chars has a confused cursor in

2008-10-02  Matthias Clasen <mclasen@redhat.com>

        Bug 530575 – GtkEntry with invisible chars has a confused cursor in
        overwrite mode

        * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
        in the layout when positioning the cursor, not the actual text
        content of the entry. This makes a different when using overwrite
        mode in an invisible entry.
        Problem noticed by Jonathan Blandford

        * gtk/gtktextutil.c: Fix a typo in a comment

svn path=/trunk/; revision=21580

17 years agoBug 554704 – gtkfilesystemmodel does too much work
Christian Persch [Thu, 2 Oct 2008 19:48:02 +0000 (19:48 +0000)]
Bug 554704 – gtkfilesystemmodel does too much work

svn path=/trunk/; revision=21572

17 years agoBug 554701 – filechooser spams console with useless warnings
Christian Persch [Thu, 2 Oct 2008 19:47:57 +0000 (19:47 +0000)]
Bug 554701 – filechooser spams console with useless warnings

svn path=/trunk/; revision=21571

17 years agoBug 554698 – mem leak in filechooser
Christian Persch [Thu, 2 Oct 2008 19:47:52 +0000 (19:47 +0000)]
Bug 554698 – mem leak in filechooser

svn path=/trunk/; revision=21570

17 years agoBug 554696 – invalid free function used
Christian Persch [Thu, 2 Oct 2008 19:47:45 +0000 (19:47 +0000)]
Bug 554696 – invalid free function used

svn path=/trunk/; revision=21569

17 years agoBug 554691 – mem leak in filechooser
Christian Persch [Thu, 2 Oct 2008 19:47:40 +0000 (19:47 +0000)]
Bug 554691 – mem leak in filechooser

svn path=/trunk/; revision=21568

17 years agoBug 554690 – mem leak in filechooser
Christian Persch [Thu, 2 Oct 2008 19:47:35 +0000 (19:47 +0000)]
Bug 554690 – mem leak in filechooser

svn path=/trunk/; revision=21567

17 years agoadd gtk_ruler_new.
Michael Natterer [Thu, 2 Oct 2008 15:26:05 +0000 (15:26 +0000)]
add gtk_ruler_new.

2008-10-02  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_ruler_new.

svn path=/trunk/; revision=21566

17 years agoBug 553585 – Add orientation API to GtkRuler
Michael Natterer [Thu, 2 Oct 2008 15:13:23 +0000 (15:13 +0000)]
Bug 553585 – Add orientation API to GtkRuler

2008-10-02  Michael Natterer  <mitch@imendio.com>

Bug 553585 – Add orientation API to GtkRuler

* gtk/gtkruler.[ch]: implement the GtkOrientable interface and
swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
which takes a GtkOrientation argument.

* gtk/gtkhruler.c
* gtk/gtkvruler.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_ruler_new().

svn path=/trunk/; revision=21565

17 years agoAdd gtk_selection_data_get_selection to retrieve the sealed struct field
Torsten Schönfeld [Wed, 1 Oct 2008 18:53:49 +0000 (18:53 +0000)]
Add gtk_selection_data_get_selection to retrieve the sealed struct field
GtkSelectionData.selection.

svn path=/trunk/; revision=21564

17 years agoUpdated Brazilian Portuguese translation.
Og B. Maciel [Wed, 1 Oct 2008 15:49:15 +0000 (15:49 +0000)]
Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=21563

17 years agoremove debug spew
Matthias Clasen [Wed, 1 Oct 2008 14:34:12 +0000 (14:34 +0000)]
remove debug spew

svn path=/trunk/; revision=21561

17 years agoDon't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
Tor Lillqvist [Wed, 1 Oct 2008 11:02:51 +0000 (11:02 +0000)]
Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.

2008-10-01  Tor Lillqvist  <tml@novell.com>

* gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
confuses newest mingw headers.

svn path=/trunk/; revision=21559

17 years agoImplement trivially on Windows. Not sure if something more complex is
Tor Lillqvist [Wed, 1 Oct 2008 11:02:22 +0000 (11:02 +0000)]
Implement trivially on Windows. Not sure if something more complex is

2008-10-01  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
Implement trivially on Windows. Not sure if something more complex
is actually needed, more specifically whether the function needs
to differentiate between "Caps Lock" and "Shift Lock" semantics?

svn path=/trunk/; revision=21558

17 years agoFixed Bug 554506 – combining diacritics broken, became deadkeys
Simos Xenitellis [Wed, 1 Oct 2008 10:53:51 +0000 (10:53 +0000)]
Fixed Bug 554506 – combining diacritics broken, became deadkeys

svn path=/trunk/; revision=21557

17 years agoDon't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
Tor Lillqvist [Wed, 1 Oct 2008 10:43:02 +0000 (10:43 +0000)]
Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.

2008-10-01  Tor Lillqvist  <tml@novell.com>

* io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses
newest mingw headers.

svn path=/trunk/; revision=21555

17 years agoadd gtk_separator_new.
Michael Natterer [Tue, 30 Sep 2008 14:33:36 +0000 (14:33 +0000)]
add gtk_separator_new.

2008-09-30  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_separator_new.

svn path=/trunk/; revision=21554

17 years agoBug 553582 – Add orientation API to GtkSeparator
Michael Natterer [Tue, 30 Sep 2008 14:20:30 +0000 (14:20 +0000)]
Bug 553582 – Add orientation API to GtkSeparator

2008-09-30  Michael Natterer  <mitch@imendio.com>

Bug 553582 – Add orientation API to GtkSeparator

* gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
swallow all code from GtkHSeparator and GtkVSeparator. Add
gtk_separator_new() which takes a GtkOrientation argument.

* gtk/gtkhseparator.c
* gtk/gtkvseparator.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_separator_new().

svn path=/trunk/; revision=21553